#!/bin/bash
# date: Sat Jul 30 15:41:23 CST 2022
# author: xkl
if [ -e $1 ];then
	echo -n "文件已存在"

	size=`ls -l $1 | awk '{print $5}'`
	if [ $size -eq 0 ];then
		echo 文件为空
	else
		echo 文件非空
	fi
else
	touch $1
	echo "成功创建$1"
fi
